package com.java.mapper;

import com.java.entity.Employee;

import java.util.List;

public interface EmployeeMapper {
    // 查询
    List<Employee> selectAllEmployee();
    // 查询按id查询多个员工信息
    List<Employee> selectEmployee(List<Integer> ids);
    // 查询按职位、部门查询多个员工信息
    List<Employee> selectEmployeeByJobAndDept(Employee emp);
    // 新增
    int insertEmployee(Employee emp);
    // 修改
    int updateEmployee(Employee emp);
    // 删除
    int deleteEmployee(int id);
}
